#ifndef _X_LOCK_OBJECT_H_
#define _X_LOCK_OBJECT_H_
#include <xthread.h>
namespace zdh
{
    class XLockObject
    {
    public:
        void Lock() { m_Lock.Enter(); }
        void UnLock() { m_Lock.Leave(); }
    private:
        XCriticalSection m_Lock;
    };
}
#endif
